import fetch from './fetch'
// 获取文章分类列表
export const articleCategory = (data, callback) => fetch('article.category', data, callback)

// 获取文章列表
export const articleList = (data, callback) => fetch('article.list', data, callback)

// 获取文章详情
export const articleDetail = (data, callback) => fetch('article.detail', data, callback)

// 文章增加浏览量
export const setReadnum = (data, callback) => fetch('article.setreadnum', data, callback)

// 获取广告列表
export const advertList = (data, callback) => fetch('advert.list', data, callback)

// 获取友情链接列表
export const linkList = (data, callback) => fetch('link.list', data, callback)

// 获取系统设置
export const systemSetting = (data, callback) => fetch('setting.info', data, callback)